﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
using Newtonsoft.Json;

namespace InkjetControl.bean
{
    public class PrintDataBean
    {
        public PrintDataBean()
        {
            Contents = new List<string>();
            BmpBytes = Array.Empty<byte>();
        }

        [JsonProperty("type")]
        public int Type { get; set; }

        [JsonProperty("text")]
        public string Text { get; set; }

        [JsonProperty("fontSize")]
        public int FontSize { get; set; }


        [JsonProperty("bmpWidth")]
        public int BmpWidth { get; set; }

        [JsonProperty("bmpHeight")]
        public int BmpHeight { get; set; }

        [JsonProperty("bmpBytes")]
        public byte[] BmpBytes { get; set; }

        [JsonProperty("contents")]
        public List<string> Contents { get; set; }

    }
}
